
package org.stu.action;

import com.opensymphony.xwork2.ActionContext;

import java.util.*;
import org.stu.action.base.*;
import org.stu.dto.*;
/**
 * @author  yeeku.H.lee kongyeeku@163.com
 * @version  1.0
 * <br>Copyright (C), 2005-2008, yeeku.H.Lee
 * <br>This program is protected by copyright laws.
 * <br>Program Name:
 * <br>Date: 
 */

public class AddUserType extends BaseAction
{
	private UserType userType;



	@Override
	public String execute() throws Exception
	{	
		try{
			mgr.addUserType(userType);
		}catch(Exception e){e.printStackTrace();}
		
        return MAIN;
	}



	public UserType getUserType() {
		return userType;
	}



	public void setUserType(UserType userType) {
		this.userType = userType;
	}

	
}